package com.caiyouxi.user.util.code;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/11.
 */
public class USER {

    public static Map<String, String> map() {
        Map<String, String> map = new HashMap<>();
        map.put("USER_PARAMTER_MISSING", "（%s）不能为空");
        map.put("USER_NOT_FOUND", "用户不存在");
        map.put("USER_PARAMTER_FORMAT_ERROR", "（%s）参数格式错误");
        map.put("USER_USERNAME_PASSWORD_ERROR", "用户名或密码错误");
        map.put("USER_PASSWORD_LOGIN_IS_NOT_SUPPORTED", "不支持密码方式登录");

        map.put("USER_HAS_BEEN_AUTHENTICATED", "用户已实名认证");

        map.put("USER_OBJ_ALREADY_EXISTS", "（%s）已存在");

        map.put("USER_AUTHCODE_UNSUPPORTED_USE", "验证码不支持此用途");
        map.put("USER_AUTHCODE_VALIDATION_ERROR", "验证码验证错误");
        map.put("USER_AUTHCODE_SPACING_IS_TOO_SHORT", "发送验证码间隔太短");
        map.put("USER_AUTHCODE_TIME_LIMIT", "验证码已过时效期");

        map.put("USER_NO_SESSION", "无会话信息");
        map.put("USER_TOKEN_EXPIRED", "令牌已失效");
        map.put("USER_UNBUNDLED_MOBILE", "用户未绑定手机");
        return map;
    }
}
